import datetime
import json
# 获取当前日期
today =datetime.datetime.strptime('2019-7-9 11:01:00','%Y-%m-%d %H:%M:%S')
onetime = datetime.timedelta(minutes=1)
time1=(today+onetime).strftime('%H:%M:%S')
print(time1)
str1 = {"status":"1","count":"1","info":"OK","infocode":"10000","forecasts":[{"city":"成都市","adcode":"510100","province":"四川","reporttime":"2019-07-09 14:21:32","casts":[{"date":"2019-07-09","week":"2","dayweather":"多云","nightweather":"多云","daytemp":"30","nighttemp":"20","daywind":"无风向","nightwind":"无风向","daypower":"≤3","nightpower":"≤3"},{"date":"2019-07-10","week":"3","dayweather":"多云","nightweather":"暴雨","daytemp":"30","nighttemp":"20","daywind":"无风向","nightwind":"无风向","daypower":"≤3","nightpower":"≤3"},{"date":"2019-07-11","week":"4","dayweather":"暴雨","nightweather":"中雨","daytemp":"23","nighttemp":"20","daywind":"无风向","nightwind":"无风向","daypower":"≤3","nightpower":"≤3"},{"date":"2019-07-12","week":"5","dayweather":"多云","nightweather":"阵雨","daytemp":"27","nighttemp":"21","daywind":"无风向","nightwind":"无风向","daypower":"≤3","nightpower":"≤3"}]}]}

print(str1["forecasts"][0]['casts'][0])
print("hhhhh \n"+"da ")